﻿using Cosmos.DataAccess.Trade.v1.Protocol;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Cosmos.DataAccess.Trade.HighGate.v1.Protocol
{
    public class PushConfig : IPushConfig
    {
        public int push_interval { get; set; }
    }

    public class SubscribeReqMsg: ISubscribeReqMsg
    {
        public IDictionary<string, string> param { get; set; }

        public IPushConfig push_config { get; set; } = new PushConfig();
    }

    public class SubscribeParameters: ISubscribeParameters
    {
        public string topic { get; set; }

        public IList<ISubscribeReqMsg> req { get; set; }
    }
}
